1 link tagged with all of: mini agents + chrome extensions
Click any tag below to further narrow down your results
Links
The author built a tool called Prompt in a Box that lets you write a Chrome extension as a Markdown prompt, with a manifest for permissions and a config file for settings. The extension runs as a small agent inside the browser, with undo, audit logs, and a way to compile repeatable parts into fixed scripts.
- An extension is three files: prompt.md (the program), manifest.json (what it can access), and config.json (user-facing settings). Swapping the prompt changes what the same runtime does.
- Tools are gated by Chrome permissions. If the manifest doesn't grant bookmarks, the bookmark tools never appear in the model's tool list.
- "code_mode" lets the model write a short script that reads 50 tabs in parallel instead of making 50 slow LLM round trips, cutting runs from minutes to seconds in some cases. The script runs in a sandboxed iframe with no network and no chrome APIs, so it can only call the permission-checked tools.
- Scripts the agent writes can be saved and bound to browser events, so repeatable logic can compile down to near-zero token cost over time.